package com.jctrip.hotel.management.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel(value = "修改供应信息接口-请求体")
@Data
public class UpdateSourceInfoParam {
    @ApiModelProperty(value = "主键id", required = true)
    private String id;

    @ApiModelProperty(value = "供应商编号", required = true)
    private String sourceCode;

    @ApiModelProperty(value = "供应商名称", required = true)
    private String name;

    @ApiModelProperty(value = "供应商账户应用id", required = true)
    private String appId;

    @ApiModelProperty(value = "供应商账户秘钥", required = true)
    private String secretKey;

    @ApiModelProperty(value = "供应商状态(0=关闭；1=正常)", required = true)
    private Integer status;

    @ApiModelProperty(value = "折扣率(0.85=85折)", required = true)
    private BigDecimal discountRate;

    @ApiModelProperty(value = "早餐数量", required = true)
    private Integer breakfastCount;

    @ApiModelProperty(value = "拓展信息(JSON格式)", required = true)
    private String extra;
}
